package com.yint.http.bodys;

public class HttpTextBody extends AbsBody
{

	private String param;

	public void setParam( String param )
	{
		this.param = param;
	}

	@Override
	protected String getStrContent()
	{
		return param;
	}

	@Override
	protected byte[] getByteContent()
	{
		if ( param != null )
		{
			return param.getBytes();
		}
		return null;
	}
}
